import React from "react"
import ReactDOM from "react-dom"
import App from "./App"
import { HashRouter as Router } from "react-router-dom"

//用路由组件包裹 根组件  给每一个路由提供路由方法
ReactDOM.render(<Router><App /></Router>, document.getElementById("root"))